Optimal. Leaf size=297 \[ \frac{2 d (f x)^{3/2} \sqrt{a+b x^2+c x^4} F_1\left (\frac{3}{4};-\frac{1}{2},-\frac{1}{2};\frac{7}{4};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{3 f \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}}+\frac{2 e (f x)^{7/2} \sqrt{a+b x^2+c x^4} F_1\left (\frac{7}{4};-\frac{1}{2},-\frac{1}{2};\frac{11}{4};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{7 f^3 \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.322517, antiderivative size = 297, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097, Rules used = {1335, 1141, 510} \[ \frac{2 d (f x)^{3/2} \sqrt{a+b x^2+c x^4} F_1\left (\frac{3}{4};-\frac{1}{2},-\frac{1}{2};\frac{7}{4};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{3 f \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}}+\frac{2 e (f x)^{7/2} \sqrt{a+b x^2+c x^4} F_1\left (\frac{7}{4};-\frac{1}{2},-\frac{1}{2};\frac{11}{4};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{7 f^3 \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1335
Rule 1141
Rule 510
Rubi steps
\begin{align*} \int \sqrt{f x} \left (d+e x^2\right ) \sqrt{a+b x^2+c x^4} \, dx &=\int \left (d \sqrt{f x} \sqrt{a+b x^2+c x^4}+\frac{e (f x)^{5/2} \sqrt{a+b x^2+c x^4}}{f^2}\right ) \, dx\\ &=d \int \sqrt{f x} \sqrt{a+b x^2+c x^4} \, dx+\frac{e \int (f x)^{5/2} \sqrt{a+b x^2+c x^4} \, dx}{f^2}\\ &=\frac{\left (d \sqrt{a+b x^2+c x^4}\right ) \int \sqrt{f x} \sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}} \, dx}{\sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}}}+\frac{\left (e \sqrt{a+b x^2+c x^4}\right ) \int (f x)^{5/2} \sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}} \, dx}{f^2 \sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}}}\\ &=\frac{2 d (f x)^{3/2} \sqrt{a+b x^2+c x^4} F_1\left (\frac{3}{4};-\frac{1}{2},-\frac{1}{2};\frac{7}{4};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{3 f \sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}}}+\frac{2 e (f x)^{7/2} \sqrt{a+b x^2+c x^4} F_1\left (\frac{7}{4};-\frac{1}{2},-\frac{1}{2};\frac{11}{4};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{7 f^3 \sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}}}\\ \end{align*}
Mathematica [A] time = 5.73658, size = 386, normalized size = 1.3 \[ \frac{2 x \sqrt{f x} \left (6 x^2 \sqrt{\frac{-\sqrt{b^2-4 a c}+b+2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}+b}} F_1\left (\frac{7}{4};\frac{1}{2},\frac{1}{2};\frac{11}{4};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}},\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right ) \left (14 a c e-5 b^2 e+11 b c d\right )+14 a \sqrt{\frac{-\sqrt{b^2-4 a c}+b+2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}+b}} (22 c d-3 b e) F_1\left (\frac{3}{4};\frac{1}{2},\frac{1}{2};\frac{7}{4};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}},\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right )+21 \left (a+b x^2+c x^4\right ) \left (2 b e+11 c d+7 c e x^2\right )\right )}{1617 c \sqrt{a+b x^2+c x^4}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.04, size = 0, normalized size = 0. \begin{align*} \int \sqrt{fx} \left ( e{x}^{2}+d \right ) \sqrt{c{x}^{4}+b{x}^{2}+a}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c x^{4} + b x^{2} + a}{\left (e x^{2} + d\right )} \sqrt{f x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{c x^{4} + b x^{2} + a}{\left (e x^{2} + d\right )} \sqrt{f x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{f x} \left (d + e x^{2}\right ) \sqrt{a + b x^{2} + c x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]